<?= HTML::anchor( URL::site(), 'View gallery') ?>
<br />
<hr />
<?=

View::factory('errors')->set('errors', $errors)

.Form::open('/gallery/edit', array('enctype' => 'multipart/form-data'))

.'<div>'.
	Form::label('description', __('Description')),
	'<br>'.
	Form::textarea('description', '', 
		array(
			'id' => 'description',
			'cols'=>23, 
			'rows'=>8
		)
	).
'</div>'

.'<div>'
	.Form::file('image')
.'</div>'

.Form::submit('submit', __('Submit'))

.'<br><b id="success" style="color:green;">'. $success .'</b>'

.Form::close()
?>

